package org.subside;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.AutoConfigurationPackage;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration;


/**
 * @Author : zhangbo
 * @data : 2024/3/26
 * @description :
 */
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class, DataSourceTransactionManagerAutoConfiguration.class })
@Slf4j
@MapperScan("org.subside.Mapper")
@AutoConfigurationPackage
//@SpringBootApplication
public class ApplicationProduct {
    public static void main(String[] args) {
        SpringApplication.run(ApplicationProduct.class);
        log.info("ProductAdmin启动成功!");
    }
}
